#ifndef APP_CONFIG_H
#define APP_CONFIG_H

#include <cstdint>
#include <string>
class Config {
public:
    Config() = default;
    ~Config();
    
    static Config &GetInstance()
    {
        static Config config;
        return config;
    }
    
public:
    void SetAudioBitrate(int32_t value);
    int32_t GetAudioBitrate();
    
    void SetAudioChannels(int32_t value);
    int32_t GetAudioChannels();
    
    void SetAudioSampleRate(int32_t value);
    int32_t GetAudioSampleRate();
    
    void SetPCMPath(const std::string& value);
    const std::string& GetPCMPath();
    
    void SetAMRPath(const std::string& value);
    const std::string& GetAMRPath();
    
private:
    int32_t audioBitrate_ = 10200;
    int32_t audioChannels_ = 1;
    int32_t audioSampleRate_ = 8000;
    
    std::string pcmpath_ = "/data/storage/el2/base/haps/entry/files/oh_test_audio.pcm";
    std::string amrpath_ = "/data/storage/el2/base/haps/entry/files/oh_test_audio.amr";
};

#endif  // APP_CONFIG_H